package com.goods.business.converter;

import com.goods.common.model.business.InStock;
import com.goods.common.model.business.OutStock;
import com.goods.common.vo.business.InStockVO;
import com.goods.common.vo.business.OutStockVO;
import org.springframework.beans.BeanUtils;

/**
 * @Author: 赵勇镔
 * @Time: 2021/6/10 15:47
 * @Description:
 */
public class OutStockConverter {

    public static OutStockVO OutStockProductVO (OutStock outStock){
        OutStockVO outStockVO = new OutStockVO();
        BeanUtils.copyProperties(outStock,outStockVO);
        return outStockVO;
    }

}
